﻿package com.sh.game.util
{

    public class Logger extends Object
    {
        private static var _logs:Array = new Array();
        public static var frameTime:int = 0;

        public function Logger()
        {
            return;
        }// end function

        public static function addPrinter(param1:ILogger, param2:int) : void
        {
            _logs[param2] = param1;
            return;
        }// end function

        public static function log(param1:String, param2:int = 2, param3:int = 0) : void
        {
            if (_logs[param3] != null)
            {
                _logs[param3].log(param1, param2);
                ;
            }
            return;
        }// end function

    }
}
